import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:26554
 * Date:2024-11-03
 * Time:22:35
 */
public class Text {
    public static int max1(int x,int y,int z){
        return max2(x>y?x:y,z);
    }
    public static int max2(int a,int b){
        return a>b?a:b;
    }
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int x = scan.nextInt();
        int y = scan.nextInt();
        int z = scan.nextInt();
        int max = max1(x,y,z);
        System.out.println(max);
     }
}
